package cn.edu.nit.sys.service;

import cn.edu.nit.sys.entity.Leave;
import cn.edu.nit.sys.utils.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author xiaobai
 * @Date 2023/3/19 20:39
 * @Version 1.0.0
 */
public interface LeaveService extends IService<Leave> {
    R addLeave(Leave leave);

    R getLeaveList(Page<Leave> page, String uid);

    R getDetail(String id);
}
